package com.example.pet.hystrix;


import com.example.pet.service.FriendsRelService;
import com.hj.pet.model.FriendsRel;
import com.hj.pet.model.ReturnT;
import org.springframework.stereotype.Component;


@Component
public class FriendsRelServiceHystrix implements FriendsRelService {


    @Override
    public ReturnT<?> save(FriendsRel friendsRel) {
        return ReturnT.errorReturn;
    }

    @Override
    public ReturnT<?> updateByUserId(FriendsRel friendsRel) {
        return ReturnT.errorReturn;
    }

    @Override
    public ReturnT<?> findRelsByUser1(String user_1) {
        return ReturnT.errorReturn;
    }

    @Override
    public ReturnT<?> findRelsByUser2(String user_2) {
        return ReturnT.errorReturn;
    }

    @Override
    public ReturnT<?> delRelByUser(String user_1, String user_2) {
        return ReturnT.errorReturn;
    }

    @Override
    public ReturnT<?> findRels(FriendsRel friendsRel) {
        return ReturnT.errorReturn;
    }

    @Override
    public ReturnT<?> addFriendRequest(FriendsRel friendsRel) {
        return ReturnT.errorReturn;
    }

    @Override
    public ReturnT<?> getDealingRels(String user1) {
        return ReturnT.errorReturn;
    }

    @Override
    public ReturnT<?> getDealingRels(String user1, Integer status) {
        return ReturnT.errorReturn;
    }

    @Override
    public ReturnT<?> dealFriendRel(FriendsRel friendsRel) {
        return ReturnT.errorReturn;
    }

    @Override
    public ReturnT<?> getAllFriends(String user1) {
        return ReturnT.errorReturn;
    }
}
